Skip to main content

GetText

Returns the bookmark text.

Syntax

expression.GetText(oPr, oPr.NewLineParagraph, oPr.Numbering, oPr.Math, oPr.NewLineSeparator, oPr.TableCellSeparator, oPr.TableRowSeparator, oPr.ParaSeparator, oPr.TabSymbol);

expression - A variable that represents a ApiBookmark class.

Parameters

NameRequired/OptionalData typeDefaultDescription
oPrRequiredobjectThe resulting string display properties.
oPr.NewLineParagraphOptionalbooleanfalseDefines if the resulting string will include paragraph line boundaries or not.
oPr.NumberingOptionalbooleanfalseDefines if the resulting string will include numbering or not.
oPr.MathOptionalbooleanfalseDefines if the resulting string will include mathematical expressions or not.
oPr.NewLineSeparatorOptionalstring'\r'Defines how the line separator will be specified in the resulting string.
oPr.TableCellSeparatorOptionalstring'\t'Defines how the table cell separator will be specified in the resulting string.
oPr.TableRowSeparatorOptionalstring'\r\n'Defines how the table row separator will be specified in the resulting string.
oPr.ParaSeparatorOptionalstring'\r\n'Defines how the paragraph separator will be specified in the resulting string.
oPr.TabSymbolOptionalstring'\t'Defines how the tab will be specified in the resulting string (does not apply to numbering).

Returns

string